package com.onlinesys.protocol.protocolbeans;

import java.util.Date;

public class ArchiveData {
    String drawingNum = null;
    String periodNum = null;
    String vendor = null;
    int preMonthQuantity;
    int incommingQuantity;
    int deliveryQuantity;
    int stockQuantity;
    int productQuantity;
    int productOnlineQuantity;
    int repaireOnlineQuantity;
    int discardQuantity;
    int repaireQuantity;
    Date archiveDate = null;

    public String getDrawingNum() {
        return drawingNum;
    }

    public void setDrawingNum(String drawingNum) {
        this.drawingNum = drawingNum;
    }

    public String getPeriodNum() {
        return periodNum;
    }

    public void setPeriodNum(String periodNum) {
        this.periodNum = periodNum;
    }

    public int getPreMonthQuantity() {
        return preMonthQuantity;
    }

    public void setPreMonthQuantity(int preMonthQuantity) {
        this.preMonthQuantity = preMonthQuantity;
    }

    public int getIncommingQuantity() {
        return incommingQuantity;
    }

    public void setIncommingQuantity(int incommingQuantity) {
        this.incommingQuantity = incommingQuantity;
    }

    public int getDeliveryQuantity() {
        return deliveryQuantity;
    }

    public void setDeliveryQuantity(int deliveryQuantity) {
        this.deliveryQuantity = deliveryQuantity;
    }

    public int getStockQuantity() {
        return stockQuantity;
    }

    public void setStockQuantity(int stockQuantity) {
        this.stockQuantity = stockQuantity;
    }

    public int getProductOnlineQuantity() {
        return productOnlineQuantity;
    }

    public void setProductOnlineQuantity(int productOnlineQuantity) {
        this.productOnlineQuantity = productOnlineQuantity;
    }
    
    public void appendProductOnlineQuantity(int productOnlineQuantity) {
        this.productOnlineQuantity += productOnlineQuantity;
    }

    public int getRepaireOnlineQuantity() {
        return repaireOnlineQuantity;
    }

    public void setRepaireOnlineQuantity(int repaireOnlineQuantity) {
        this.repaireOnlineQuantity = repaireOnlineQuantity;
    }
    
    public void appendRepaireOnlineQuantity(int repaireOnlineQuantity) {
        this.repaireOnlineQuantity += repaireOnlineQuantity;
    }

    public int getRepaireQuantity() {
        return repaireQuantity;
    }

    public void setRepaireQuantity(int repaireQuantity) {
        this.repaireQuantity = repaireQuantity;
    }

    public Date getArchiveDate() {
        return archiveDate;
    }

    public void setArchiveDate(Date archiveDate) {
        this.archiveDate = archiveDate;
    }

    public int getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(int productQuantity) {
        this.productQuantity = productQuantity;
    }

	public String getVendor() {
		return vendor;
	}

	public void setVendor(String vendor) {
		this.vendor = vendor;
	}

	public int getDiscardQuantity() {
		return discardQuantity;
	}

	public void setDiscardQuantity(int discardQuantity) {
		this.discardQuantity = discardQuantity;
	}
	
	public void appendDiscardQuantity(int discardQuantity) {
		this.discardQuantity += discardQuantity;
	}
}
